package com.zbkj.common.request.project;

import com.zbkj.common.vo.project.FunDocVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Auther:
 * @Date: 2024/7/15 12:16
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AiNotifyRequest对象", description = "项目估算结果AI通知请求对象")
public class AiNotifyRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("估算处理code  不传|0 处理成功  1处理退款")
    private Integer code;

    @ApiModelProperty("项目ID")
    @NotNull(message = "缺少项目ID参数")
    private Long projectId;

    @ApiModelProperty("请求流水号")
    @NotBlank(message ="缺少请求流水号参数")
    private String reqNo;

    @ApiModelProperty("ai回传功能点合计")
    private Integer totalAns;

    @ApiModelProperty("估算结果文件路径")
    private String filePath;

    @ApiModelProperty("索引文档信息")
    private List<FunDocVo> srcTextList;
}
